<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<aside class="main-sidebar" th:fragment="sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel (optional) -->
        <div class="user-panel">
            <div class="pull-left image">
                <img  class="img-circle" >
            </div>
            <div class="pull-left info">
                <p></p>
                <!-- Status -->
                <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
        </div>
        <!-- Sidebar Menu -->
        <ul class="sidebar-menu" data-widget="tree">
            <li class="header">MAIN NAVIGATION</li>
            <!-- Optionally, you can add icons to the links -->
            <li id="firstpage"><a th:href="@{/goods/statistics}"><i class="fa fa-bar-chart"></i> <span>首页</span></a></li>
            <li class="treeview" id="cus">
                <a href="#"><i class="fa fa-user"></i> <span>用户管理</span>
                    <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
                </a>
                <ul class="treeview-menu">
                    <li><a th:href="@{/customer/list}"><i class="fa fa-list-alt"></i>基本信息</a></li>
                    <li><a th:href="@{/customer/add}"><i class="fa fa-plus"></i>添加用户</a></li>
                </ul>
            </li>
            <li class="treeview" id="goo">
                <a href="#"><i class="fa fa-cubes"></i> <span>商品管理</span>
                    <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
                </a>
                <ul class="treeview-menu">
                    <li><a th:href="@{/goods/listAll}"><i class="fa fa-list-alt"></i>基本信息</a></li>
                    <li><a th:href="@{/goods/add}"><i class="fa fa-plus"></i>添加商品</a></li>
                </ul>
            </li>
            <li class="treeview" id="ord">
                <a href="#"><i class="fa fa-reorder"></i> <span>订单管理</span>
                    <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
                </a>
                <ul class="treeview-menu">
                    <li><a th:href="@{/order/list}"><i class="fa fa-list-alt"></i>基本信息</a></li>
                 </ul>
            </li>
            <li class="treeview" id="discount">
                <a href="#"><i class="fa fa-rmb "></i> <span>折扣管理</span>
                    <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
                </a>
                <ul class="treeview-menu">
                    <li><a th:href="@{/discount/list}"><i class="fa fa-list-alt"></i>折扣信息</a></li>
                    <li><a th:href="@{/discount/add}"><i class="fa fa-plus"></i>添加折扣</a></li>
                </ul>
            </li>
        </ul>
        <!-- /.sidebar-menu -->
    </section>
    <!-- /.sidebar -->
</aside>
</html>